package cn.itsource.user.service;



import cn.itsource.user.domain.User;
import cn.itsource.user.query.UserQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserService {
    void add(User user);
    void update(User user);
    void delete(Long id);
    User getOne(Long id);
    List<User> getAll();

    void patchDelete(Long[] ids);

    PageInfo<User> pageQuery(UserQuery query);
}
